const pickerOptions = {
    disabledDate(time) {
      return time.getTime() > Date.now();
    },
    shortcuts: [
      {
        text: "今天",
        onClick(picker) {
          picker.$emit("pick", new Date());
        }
      },
      {
        text: "昨天",
        onClick(picker) {
          const date = new Date();
          date.setTime(date.getTime() - 3600 * 1000 * 24);
          picker.$emit("pick", date);
        }
      },
      {
        text: "一周前",
        onClick(picker) {
          const date = new Date();
          date.setTime(date.getTime() - 3600 * 1000 * 24 * 7);
          picker.$emit("pick", date);
        }
      },
      {
        text: "一年前",
        onClick(picker) {
          const date = new Date();
          date.setFullYear(date.getFullYear() - 1);
          picker.$emit("pick", date);
        }
      },
      {
        text: "两年前",
        onClick(picker) {
          const date = new Date();
          date.setFullYear(date.getFullYear() - 2);
          picker.$emit("pick", date);
        }
      },
      {
        text: "三年前",
        onClick(picker) {
          const date = new Date();
          date.setFullYear(date.getFullYear() - 3);
          picker.$emit("pick", date);
        }
      }
    ]
  };
  
  const tableData1 = [
    {
      id: "0",
      nickname: "张三",
      gender: "1",
      phone: '13188888888',
      status: 0,
      icon:
        "http://julimeng-dev.oss-cn-hangzhou.aliyuncs.com/managehub/avatar/20240409/yDe4rGzxJl3E7AIzjf5jU.jpg",
      creatTime: "2018-01-01"
    },
    {
      id: "1",
      nickname: "李四",
      gender: "2",
      phone: '13188888888',
      creatTime: "2019-01-01",
      status: '1',
      icon:
        "http://julimeng-dev.oss-cn-hangzhou.aliyuncs.com/managehub/avatar/20240408/Gc7gsT-30CG9-QrErgRJ9.jpeg"
    },
    {
      id: "2",
      nickname: "王五",
      gender: "3",
      phone: '13188888888',
      creatTime: "2020-01-01",
      status: '0',
      icon:
        "http://julimeng-dev.oss-cn-hangzhou.aliyuncs.com/managehub/avatar/20240408/Gc7gsT-30CG9-QrErgRJ9.jpeg"
    },
  ];
  
  export { pickerOptions, tableData1 };
  